<?php
/**
 * 餐厅积分礼品关联视图
 * @author hushuai
 * 
 */
class OutletIntegralViewModel extends ViewModel {
	
	public $viewFields = array(
			
     'Integral'=>array(
     		'*',
     		'_as'  => 'd',
     		'_type'=> 'left',
      ),
			
     'Outlet'=>array(
     		'title'=>'rtitle',
     		'entitle'=>'rentitle',
     		'_as'  => 'o',
     		'_on'  => 'd.restid=o.id'
     	)
   );
	
}
?>